package router

import (
	"api-gateway/handler/api"
	"github.com/gin-gonic/gin"
)

func LoadRouter(r *gin.Engine) {
	routerGroup := r.Group("v1")
	{

		apiFile := routerGroup.Group("api")
		{
			apiFile.POST("uploadFile", api.UploadFile)
			apiFile.POST("findFile", api.FindFile)
			apiFile.POST("getFile", api.GetFile)
		}

	}
}
